﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Client.App.Services
{
    public class NumberStatisticsService : BaseStatisticsService<double>
    {
        #region Constructors

        public NumberStatisticsService(Func<double> func, int attempts )
            : base(func, attempts)
        {
        }

        #endregion

        public override double GetAverage(IEnumerable<double> values)
        {
            return values.Average();
        }
    }
}
